#!/bin/sh

MAINPATH=/Users/AlbertoBandettini/Documents/Università/SPD/Project

# creation of Debug dirs

mkdir ${MAINPATH}/CameraModule/Debug
mkdir ${MAINPATH}/InterpolatorModule/Debug

# compilation

make clean -C ${MAINPATH}/CameraModule
make -C ${MAINPATH}/CameraModule
make clean -C ${MAINPATH}/InterpolatorModule
make -C ${MAINPATH}/InterpolatorModule
echo "\nSource compiled"

echo "\nInterpolator withuout external camera and with default parameters is executing ... wait for the completion"
${MAINPATH}/InterpolatorModule/interpolator
